package guda.house.dal.dao;

import guda.house.dal.dataobject.ParkingRentRuleDO;
import guda.grape.autogen.common.page.BaseQuery;
import java.util.List;

public interface ParkingRentRuleDAO {


    Long insert(ParkingRentRuleDO parkingRentRule);


    ParkingRentRuleDO getParkingRentRuleById(Long ruleId);


    boolean delParkingRentRuleById(Long ruleId);

    List<ParkingRentRuleDO> getParkingRentRuleByIds(List idsList);

    /**
     * 清空测试用例加入的autoincrement
     */
    void cleanAutoIncrement(Long ruleId);

    List<ParkingRentRuleDO> selectForPage(BaseQuery baseQuery);

    int countForPage(BaseQuery baseQuery);

    void updateByIdSelective(ParkingRentRuleDO parkingRentRule);

    List<ParkingRentRuleDO> selectForView(BaseQuery baseQuery);

}
